import Vue from 'vue'
import App from './App.vue'

import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueLazyload from 'vue-lazyload'
import infiniteScroll from 'vue-infinite-scroll'
import InfiniteLoading from 'vue-infinite-loading'

import '@/icons'
import '@/permission'

Vue.use(infiniteScroll)
Vue.use(InfiniteLoading)
// Vue.use(InfiniteScroll)
Vue.use(VueLazyload, {
  loading: '/load.gif'
})
Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
